package com.softlab.retailwholesalesystem.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 采购单详情实体类
 */
@TableName(value = "t_detail_purchase")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DetailPurchaseEntity implements Serializable {
    @TableId(type= IdType.AUTO)
    private Long purchaseMapId;
    private Long purchaseId;
    private Long goodsId;
    private Long repositoryId;
    private Long goodsNumber;

    @TableField(fill= FieldFill.INSERT)
    private Date createTime;
    @TableField(fill= FieldFill.INSERT_UPDATE)
    private Date modifiedTime;
    private Integer isDelete;
}
